package cn.com.xiaoshoujia.activities.service;

import cn.com.xiaoshoujia.activities.dto.ActivityOrderSingleMsgDTO;
import cn.com.xiaoshoujia.activities.dto.ActivityProductDTO;
import cn.com.xiaoshoujia.activities.vo.ActivitySingleVO;
import cn.com.xiaoshoujia.utils.QueryResult;

import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.Map;

/**
 * @author dulei
 * @Title: ActivitiesOrderService
 * @Description: 订单Service接口
 * @Time 2017/7/31 16:12
 */
public interface ActivitiesOrderService {

    ActivityOrderSingleMsgDTO findOrderMsg(Long id, Integer type);

    QueryResult listSingle(int pageNum, ActivitySingleVO activitySingleVO) throws UnsupportedEncodingException;

    QueryResult listHead(int pageNum, ActivitySingleVO activitySingleVO) throws UnsupportedEncodingException;

    List<ActivityProductDTO> listProduct(Long id);

    List<Map<String, Object>> exportSingle(ActivitySingleVO id) throws UnsupportedEncodingException;

    List<Map<String, Object>> exportHead(ActivitySingleVO id) throws UnsupportedEncodingException;
}
